﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ChoViet.Model.SettingsDefault>" %>

<%@ Import Namespace="ChoViet.Model" %>
<%@ Import Namespace="ChoViet.Lib.Helpers" %>
<%@ Import Namespace="ChoViet.CMS.ViewModels" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Xoá giá trị mặc định
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%if (ViewData["MessageInfo"] == null && Model!=null)
      { %>
	<form method="post" style="text-align:center">		
		<%=Html.HiddenFor(m=>m.Value) %>
		<p>Giá trị mặc định "<%= Model.Value%>" sẽ bị xóa vĩnh viễn. Bạn có chắc chắn muốn xóa không?</p>
		<input type="submit" value="Đồng ý" />
		<input type="button" value="Không" onclick="javascript:history.back(1)" />
	</form>
<% } %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Toolbar" runat="server">
    <td>
    <%= Html.Toolbar("Quay về", "/SettingDefault", "back") %>
    </td>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="Header" runat="server">
    Xóa giá trị mặc định
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="Message" runat="server">
    <%=ViewData["MessageInfo"]!=null? "<p class='perror'>"+Html.Encode(ViewData["MessageInfo"])+"</p>":string.Empty%>
</asp:Content>
